<!-- $Id: group_buy_info.htm 14216 2015-02-10 02:27:21Z derek $ -->
{include file="pageheader.htm"} {insert_scripts files="../js/utils.js, ../js/validate/jquery.validate.js, ../js/validate/messages_zh.js"}
<script type="text/javascript" src="../js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./js/validate/jquery.validate.js"></script>
<script type="text/javascript" src="./js/validate/messages_zh.js"></script>
<script type="text/javascript" src="./js/validator.js"></script>
<style type="text/css">
label.error {
	color: red;
	background: url(./images/warning_small.gif) no-repeat;
	padding-left: 18px;
}

label.success {
	background: url(./images/yes.gif) no-repeat;
	padding-left: 18px;
}
</style>
<!-- 搜索用户 -->
<!-- <div class="form-div">
	<form action="javascript:searchUsers()" name="searchForm">
		入驻商编号
		<input type="hidden" name="supp_id" value="-1" />
		<img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
		{$lang.label_user_id}
		关键字
		<input type="text" name="keyword" size="20" />
		<input type="submit" value="{$lang.button_search}" class="button" />
	</form>
</div> -->
<!--  onsubmit="return validate()" -->
<form id="form1" method="post" action="daikuan.php?act=insert_update&XDEBUG_SESSION_START=ECLIPSE_DBGP" name="theForm">
	<input type="hidden" id="cus_id" name="cus_id" value="{$customer.cus_id}">
	<div class="main-div">
		<table id="group-table" cellspacing="1" cellpadding="3" width="100%">
			
			<tr>
				<td class="label">
					贷款额度
				</td>
				<td>
					<input type="text" id="dk_money" name="dk_money" size="22" value="" class="required" />
					<br />
					<span class="notice-span" {if $help_open}style="display: block" {else} style="display:none" {/if} id="noticOfUsername">{$lang.notice_dk_money}</span>
				</td>
			</tr>
			<tr>
				<td class="label">
					真实姓名
				</td>
				<td>
					<input type="text" id="realname" name="realname" size="22" value="" class="required" />
					<br />
					
				</td>
			</tr>
			<tr>
				<td class="label">
				手机号码
				</td>
				<td>
					<input type="text" id="mobile" name="mobile" size="22" value="" />
				</td>
			</tr>
			<tr>
				<td class="label">身份证号</td>
				<td>
					<input type="text" id="id_card" name="id_card" size="22" value="" />
				</td>
			</tr>
			<tr>
				<td class="label">&nbsp;</td>
				<td>
					<input name="act_id" type="hidden" id="act_id" value="{$customer.act_id}">
					<input type="submit" id="btn_submit" name="btn_submit" value="{$lang.button_submit}" class="button" />
					<input type="reset" value="{$lang.button_reset}" class="button" />
					{if $customer.status eq 1}
					<input type="submit" name="finish" value="{$lang.button_finish}" class="button" onclick="return confirm('{$lang.notice_finish}')" />
					{elseif $customer.status eq 2}
					<input type="submit" name="succeed" value="{$lang.button_succeed}" class="button" onclick="return confirm(succeed_confirm)" />
					{$lang.notice_succeed}
					<br />
					<input type="submit" name="fail" value="{$lang.button_fail}" class="button" onclick="return confirm(fail_confirm)" />
					{$lang.notice_fail} {elseif $customer.status eq 3}
					<input type="submit" name="mail" value="{$lang.button_mail}" class="button" onclick="return confirm('{$lang.notice_mail}')" />
					{/if}
				</td>
			</tr>
		</table>
	</div>
</form>
<script language="JavaScript">{literal}

var dk_money = $("#dk_money").val();


function setError(target, message) {
	$("#" + target.attr("id") + "-error").remove();
	$("#" + target.attr("id") + "-success").remove();
	$("#dk_money-success").remove();
	$(target).after("<label id='dk_money-error' class='error' for='dk_money'>" + message + "</label>");
	$(target).focus();
}
function setSuccess(target, message) {
	$("#" + target.attr("id") + "-error").remove();
	$("#" + target.attr("id") + "-success").remove();
	$(target).after("<label id='dk_money-success' class='success' for='dk_money'>" + message + "</label>");
}

{/literal}
</script>
{include file="pagefooter.htm"}
